package com.zw.yzk.kabu.internal.module;

import com.zw.yzk.kabu.data.repository.SearchExhibitionRepository;
import com.zw.yzk.kabu.domain.interactor.DefaultUseCase;
import com.zw.yzk.kabu.domain.repository.Repository;
import com.zw.yzk.kabu.domain.repository.UseCase;


import dagger.Module;
import dagger.Provides;

/**
 * Created by zhanwei on 2017/1/16.
 */

@Module
public class SearchExhibitionModule {

    @Provides
    Repository provideRepository(SearchExhibitionRepository repository) {
        return repository;
    }

    @Provides
    UseCase provideUseCase(DefaultUseCase useCase) {
        return useCase;
    }
}
